package hot.job.core.annotation;

import java.lang.annotation.*;

/**
 * core annotation to mark a hot job
 *
 * @author gaowenhao
 * @since 2022/7/4 21:03
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
public @interface HotJob {

    String name();

    String group() default "HotJob";

    boolean hot() default false;

    String cron() default "";

}
